<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="width: 500px;height: 300px;border: 1px solid gainsboro;margin: 0 auto">
    <h1 style="margin-left: 20px;">{$one_data->title}</h1>
    <p style="margin-left: 20px;">{$one_data->content}</p>

    <p style="margin-left: 20px;">阅读量 <span>{$read_num}</span><a href="{:url('admin/information/love')}?id={$one_data->id}" style="margin-left: 50px;color: white;background-color: #2D93CA;border: 1px solid  #2D93CA;text-decoration: none">收藏</a></p>
    {if $prev == null}
    {else/}
    <a href="{:url('admin/information/information_detail')}?id={$prev['id']}" style="margin-left: 20px;">上一篇</a>
    {/if}
    {if $next == null}

    {else/}
    <a href="{:url('admin/information/information_detail')}?id={$next['id']}" style="margin-left: 20px;">下一篇</a>
    {/if}
</div>
</body>
</html>
